<div ng-include="'html/shared/_baseheader.html'"></div>
<div id="wrapper" class="bg_f" >
    <div id="scroller">
        <div id="pullDown">
            <span class="pullDownIcon"></span>
            <span class="pullDownLabel"></span>
        </div>
        <section style="min-height:{{deviceInfo.height}}px">
            <div class="puoduct_center">
                <div class="orderconfirm_top text_center">
                    <p class="orderconfirm_font">投资金额(元)</p>
                    <p class="p_t16">
                        <span ng-bind="monthBuyPrice | number:'0'"></span>
                    </p>
                    <div class="orderconfirm_width clearfix">
                        <div class="pull-left">
                            <p>预期年化率</p>
                            <p class="p_info">
                                <span ng-bind="((orderinfo.annualRateOfYear-orderinfo.showRate) | number:'1')+'%'"></span><span ng-if="orderinfo.showRate" ng-bind="'+'+(orderinfo.showRate | number:'1')+'%'"></span><span ng-if="jxqNum&&jxqNum!='未使用加息券'">+</span><span ng-if="jxqNum&&jxqNum!='未使用加息券'">{{bindNum|number:'1'}}%</span> 
                            </p>
                        </div>
                        <p class="pull-left p_line"></p>
                        <div class="pull-left">
                            <p>期限</p>
                            <p class="p_info">
                                <span ng-bind="orderinfo.loanPeriod"></span><span ng-bind="orderinfo.loanPeriodUnitId == 2 ? '天' : '个月'"></span>
                            </p>
                            
                        </div>
                    </div>
                </div>
            </div>
            <div class="orderconfirm_head_bot text_center">预期收益:
                <span ng-bind="(GetInterest.interest | number :'2')+'元'"></span>
                <span ng-if="GetInterest.plusInterest">+</span>
                <span ng-if="GetInterest.plusInterest" ng-bind="(GetInterest.plusInterest | number :'2')+'元'">10.50</span>
                </p>
                </span>
            </div>
            <div class="bg_gray"></div>
            <ul class="orderconfirm_ul">
                <li class="orderconfirm_ul_li orderconfirm_ul_li1 clearfix" ng-if="orderinfo.productGroupId!=1&&orderinfo.productGroupId!=9">
                    <span class="pull-left orderconfirm_ul_span">使用加息券</span>
                    <span ng-click="showLayer(1)" ng-if="GetCanUserPlusInterest.length>0">
                        <i class="pull-right orderconfirm_order_more"></i>
                        <span class="pull-right {{jxqNum=='未使用加息券'?'o_jiaxi2':'o_jiaxi'}}" ng-bind="jxqNum"></span>
                    </span>
                    <span ng-click="showLayer(2)" ng-if="!GetCanUserPlusInterest.length>0">
                        <i class="pull-right orderconfirm_order_more"></i>
                        <span class="pull-right o_jiaxi1">暂无可用的加息券</span>
                    </span>
                </li>
                <li class="orderconfirm_ul_li orderconfirm_ul_li2 clearfix" ng-click="selectpay(1)"style="height:2.2827rem">
                    <span class="pull-left orderconfirm_ul_span">余额</span>
                    <span class="pull-right orderconfirm_ul_li_p">{{myprice.usableAmount+'元'}}</span>
                </li>
                <!--已办卡-->
                <li class="orderconfirm_ul_li clearfix o_c_u_l_l" ng-if="getuserinfo.bankCard&&getuserinfo.bankCode">
                    <img class="pull-left currentorder_li_bank" src="{{bankInfo.bankIcon}}">
                    <span class="pull-left orderconfirm_li_bankinfo">
                        <p ng-bind="getuserinfo.bankName"></p>
                        <p ng-bind="getuserinfo.bankCard"></p>
                    </span>
                </li>
            </ul>
            <div class="clearfix currentorder_li_xieyi">
                <i class="pull-left  currentorder_li_wg {{orderinfoplus.agreeprotocol ? '' : 'currentorder_li_check'}} " ng-click="orderinfoplus.agreeprotocol = !orderinfoplus.agreeprotocol"></i>
                <span class="currentorder_li_yl">阅读并同意
                    <span ng-click="go('/contract/contract-serves')">《定向委托投资协议》</span>
                    <span ng-click="go('/contract/contract-msg')">《风险提示函》</span>
                    <span ng-click="go('/contract/cfca')">《CFCA数字证书服务协议》</span>
                    <span ng-click="go('/contract/anxin')">《安心签平台服务协议》</span>
                    <span ng-click="go('/contract/contract-xy')">《免责声明》</span>
                </span>
            </div>
            <div class="orderconfrim_o_but_wrap">
                <div class="monthorder_o_but" ng-click="gopay()">确认投资</div> 
            </div>
        </section>
    </div>
</div>
<div id="js_safepay" class="none">
    <section class="tan_box">
        <p class="clearfix t_b_tit">
            <span class="pull-left">确认支付</span>
            <span class="pull-right t_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="tan_content text_center">
            <p class="t_c_p_1">确认支付
                <span class="n_fa col_44" ng-bind="monthBuyPrice | number :'2'">0.00</span>元</p>
            <div style="padding-bottom:20px">
                <span class="t_c_p_but" ng-click="enterpay(1)">确定支付</span>
            </div>
        </div>
    </section>
</div>
<div id="js_jxq" style="min-height:{{deviceInfo.height}}px;display:none;" ng-click="arguments()">
    <section class="js_jxq scrollbar" id="style-1">
        <div class="tan_content text_center">
            <ul>
                <li ng-click="arguments(1,$event)">
                    <div class="bg_lartop clearfix">
                        <p>
                            <i name=""></i>不使用加息券</p>
                    </div>
                </li>
                <li ng-repeat="obj in GetCanUserPlusInterest" ng-click="arguments(obj,$event)" class="clearfix">
                    <i class="false_checked o_checked pull-left" name="{{obj.id}}"></i>
                    <div class="bg_lar pull-left">
                        <span class="o_jxqshu pull-left">+<span class="jxq_max" ng-bind="(obj.interestRate | number : '0')+'%'"></span>
                        </span>
                        <p class="pull-left o_ptext">
                            <span class="mtpx">可购买1.3.6月理财产品</span>
                            <span>{{obj.validEnd}}到期</span>
                        </p>

                    </div>
                </li>
            </ul>
        </div>
    </section>
</div>
<div id="js_recharge" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="pull-right with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                您的可用余额不足，还需充值{{reduce|number:'2'}}元才能完成投资。现在就去充值？
            </div>
            <div class="withtan_content_bth">
                <span class="with_c_p_but with_c_p_but_left" ng-click="closelayout()">取消</span>
                <span class="with_c_p_but with_c_p_but_color" ng-click="enterpay(2)">去充值</span>
            </div>
        </div>
    </section>
</div>
<div id="js_singlePrice" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="pull-right with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                您的可用余额不足，还需充值{{reduce|number:'0'}}元才能完成投资。充值金额超过银行卡单笔限额，请电脑登录www.youlijinfu.com使用网银大额充值
            </div>
            <div class="msg_but" ng-click="goback($event)">
                我知道了
            </div>
        </div>
    </section>
</div>
<div id="js_banrecharge" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="pull-right with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                每日23:50至0:10为系统对账时间，期间暂停快捷充值操作。给您带来的不便，敬请谅解。
            </div>
            <div class="msg_but" ng-click="closelayout()">
                我知道了
            </div>
        </div>
    </section>
</div>
<!-- 充值提交表单 -->
<form name="form" id="rechargeform" method="post">
    <input ng-repeat='(i,obj) in ajaxdata' name="{{i | upperFirst}}" id="{{i | upperFirst}}" type="hidden" value={{obj}} />
</form>